home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000390_simon@lia.di.epfl.ch_Mon Mar 14 18:32:17 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  1KB

  1. Received: from liasun6.epfl.ch by cs.umb.edu with SMTP id AA17866
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 14 Mar 1994 18:32:17 -0500
  3. Received: by liasun6.epfl.ch (Smail3.1.28.1 #58)
  4.     id m0pgM7L-0002PGC; Tue, 15 Mar 94 00:32 MET
  5. Message-Id: <m0pgM7L-0002PGC@liasun6.epfl.ch>
  6. Date: Tue, 15 Mar 94 00:32 MET
  7. From: simon@lia.di.epfl.ch (Simon Leinen)
  8. To: Nicolai Langfeldt <janl@math.uio.no>
  9. Cc: tex-k@cs.umb.edu
  10. Subject: xdvi 1.7 on sgi
  11. In-Reply-To: <9403142135.AAsmaug01364@smaug.uio.no>
  12. References: <9403142135.AAsmaug01364@smaug.uio.no>
  13.  
  14. Nicolai> IRIX leto 5.1.1 09101811 IP22 mips
  15. Nicolai> [...]
  16. Nicolai> ./xdvi Error: Can't open display: mnemosyne:0.0
  17. Nicolai>
  18. Nicolai> Obviously a problem with WCHAR I think, [...]
  19.  
  20. No.  This is a problem with the libraries used.  Configure adds
  21. -lsocket (if it exists) to the set of libraries for linking X
  22. programs.  On IRIX 5, -lsocket contains broken versions of the
  23. gethostby...() routines which don't use the nameserver.  On other
  24. systems (Solaris 2.x with some type of X libraries), -lsocket is
  25. necessary to link X programs.
  26.  
  27. I don't know how configure could be taught to distinguish between good
  28. and broken -lsocket libraries, however.  Since you have to edit the
  29. Makefiles for the X stuff anyway (in order to define NO_FOIL_...),
  30. simply remove the -lsocket as well when you do this.
  31. -- 
  32. Simon.